---
title: Create Next.js site
excerpt: Create a Next.js site on Drupal
weight: 105
group: Draft Mode
---

Start by creating a Next.js site so that we can render the draft in Drupal.

1. Visit `/admin/config/services/next`.
2. Click **Add Next.js site**.
3. Fill in the following values:

- **Label**: `Next.js`
- **Base URL**: `http://localhost:3000`
- **Draft URL (or Preview URL)**: `http://localhost:3000/api/draft`
- **Secret key**: `secret`

<Callout>

As from `next-drupal 1.5`, encrypted secrets are automatically generated and validated by the Next module.

</Callout>

4. Click **Save**
